package com.dyc.caradvertisting.ui.fmt.tab.mine;

import android.os.Bundle;
import android.view.View;

import com.dyc.caradvertisting.R;
import com.njh.tools.base.BaseFragment;

/**
 * 个人中心
 */
public class MineFragment extends BaseFragment {

    public static MineFragment newInstance() {
        MineFragment fragment = new MineFragment();
        Bundle args = new Bundle();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_client;
    }

    @Override
    public void initView(View baseView) {

    }

    @Override
    public void initPresenter() {

    }

//    @Override
//    protected void initLazyView(@Nullable Bundle savedInstanceState) {
//        if (savedInstanceState == null) {
//            loadFragment();
//        } else {  // 这里可能会出现该Fragment没被初始化时,就被强杀导致的没有load子Fragment
//            if (findChildFragment(ClientFragment.class) == null) {
//                loadFragment();
//            }
//        }
//    }
//    private void loadFragment() {
//        loadRootFragment(R.id.fl_fourth_container_upper, ClientFragment.newInstance());
//        loadRootFragment(R.id.fl_fourth_container_lower, SettingFragment.newInstance());
//    }
//    public void onBackToFirstFragment() {
//        _mBackToFirstListener.onBackToFirstFragment();
//    }
}
